package kr.hkit.Powerjava.chapter08.work;

public class BoxTest {

	public static void main(String[] args) {
		Box box1 = new Box();
		box1.setHeight(100);
		box1.setLength(100);
		box1.setWidth(100);
		Box box2 = new Box();
		box2.setHeight(200);
		box2.setLength(200);
		box2.setWidth(200);
		
		System.out.println(box1);
		System.out.println(box2);
		System.out.println();
		box1 = box2;
		
		System.out.println(box1);
		System.out.println(box2);
	}
	
	
}
